//
//  ZBGiftOperationManager.h
//  送礼
//
//  Created by 华惠友 on 2017/9/20.
//  Copyright © 2017年 华惠友. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ZBGiftModel.h"
#import "ZBPresentView.h"

typedef void(^GiftFinishedBlock)(BOOL isFinished, NSInteger giftCount);
@interface ZBGiftOperationManager : NSOperation

/**
 在哪个视图进行展示
 */
@property (nonatomic, strong) UIView *parentView;

+ (instancetype)shareManager;


- (void)animationWithGiftIndex:(NSInteger)giftIndex
                     giftModel:(ZBGiftModel *)giftModel
                 finishedBlock:(GiftFinishedBlock)finishedBlock;

@end
